package com.onccc.social.model;

import androidx.annotation.NonNull;

/**
 * @author GongChengHao
 * @date 2024/12/5
 * Description :
 */
public class ImageInterestModel {

    private  boolean isInterested; //是否感兴趣
    private  boolean toLike;  //是否点赞
    private  boolean toFollow;  //是否关注
    private  boolean toComment;//
    private  String explanation;//解释
    private int code;
    private String message;

    public boolean isInterested() {
        return isInterested;
    }

    public boolean isToLike() {
        return toLike;
    }

    public boolean isToFollow() {
        return toFollow;
    }

    public boolean isToComment() {

        return toComment;
    }

    public void setInterested(boolean interested) {
        isInterested = interested;
    }

    public void setToLike(boolean toLike) {
        this.toLike = toLike;
    }

    public void setToFollow(boolean toFollow) {
        this.toFollow = toFollow;
    }

    public void setToComment(boolean toComment) {
        this.toComment = toComment;
    }

    public void setExplanation(String explanation) {
        this.explanation = explanation;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getExplanation() {
        return explanation == null ? "" : explanation;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message == null ? "" : message;
    }


    @NonNull
    @Override
    public String toString() {
        return super.toString();
    }
}
